[XEN] Shadow mode no longer obtains page type references.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 21 Sep 2006 09:47:05 +0000 (10:47 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 21 Sep 2006 09:47:05 +0000 (10:47 +0100)
commite158d6de5b396c08eb9221669e5fc892a680f0a7
tree1c604663a848b87aae57a764807ce898d37530a1
parentae8b421d2beb085c8820257c0a7f9c4a02a336ba
[XEN] Shadow mode no longer obtains page type references.
This allows the shadow destructor hook in free_page_type()
to work properly.

Also, move mark_dirty() back to alloc/free_page_type(). It
doesn't matter that this happens before the type count is
modified -- bitmap is extracted by the tools with the domain
paused, so these non-blocking paths are atomic from p.o.v of
the tools.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/mm.h
xen/include/asm-x86/shadow.h